import Vue from 'vue'
import Vuex from 'vuex'
import article from './modules/article'
import user from './modules/user'

Vue.use(Vuex)

export default new Vuex.Store({
  // 只留小仓库
  modules: {
    user,
    article
  }

})
